let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n148,
                    i =
                    (this && this.__extends) ||
                    ((_n148 = function n(t, e) {
                            return (_n148 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n148(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        });
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.ShadowActor = void 0);
                var r = t('AbsActor'),
                    a = (function(t) {
                        function e(e) {
                            var o = t.call(this) || this;
                            return (
                                (o._target = e),
                                (e.shadow = o),
                                o.loadModel('Prefab/Effect/shadow'),
                                o
                            );
                        }
                        return (
                            i(e, t),
                            (e.prototype.onUpdate = function(e) {
                                t.prototype.onUpdate.call(this, e),
                                    this._target &&
                                    ((this.entity.x = this._target.entity.x),
                                        (this.entity.y = this._target.entity.y),
                                        (this.entity.scale = this._target.entity.scale),
                                        this._target.state == r.ActorState.Die ?
                                        this.entity.active && (this.entity.active = !1) :
                                        this.entity.active || (this.entity.active = !0));
                            }),
                            (e.prototype.onDestroy = function() {
                                (this._target = null), t.prototype.onDestroy.call(this);
                            }),
                            e
                        );
                    })(r.AbsActor);
                (o.ShadowActor = a), console.log("end");
            module.exports =  e.exports;